home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 5 / Amiga Plus Sonderheft 1996 #5.iso / programme / raystrom_v1.2 / examples / arexx / title1.ray < prev    next >
Text File  |  1987-01-15  |  663b  |  41 lines

  1. /***************
  2.  * NAME:          title.ray
  3.  * DESCRIPTION:   This ARexx-programm renders the RayStorm title
  4.  * AUTHOR:           Andreas Heumann
  5.  ***************/
  6.  
  7. signal on error
  8.  
  9. options results
  10.  
  11. IF ~show('P','RAYSTORM') THEN DO
  12.     address COMMAND 'run >NIL: <NIL: /RayStorm'
  13.     address COMMAND WaitForPort RAYSTORM
  14. END  
  15.  
  16. address RAYSTORM
  17.  
  18. 'OBJECTPATH /objects'
  19.  
  20. 'SETSCREEN 160 128'
  21. 'SETCAMERA <0,300,-500> <0,0,0> <0,1,0> 56.25 45'
  22. 'SETWORLD [0,0,0] [30,30,30]'
  23. 'POINTLIGHT <0,0,-700>'
  24.  
  25. 'LOADOBJ title_light.iob'
  26. 'LOADOBJ title.iob'
  27.  
  28. 'STARTRENDER'
  29.  
  30. 'SAVEPIC title1.iff'
  31.  
  32. 'CLEANUP'
  33.  
  34. exit 0
  35.  
  36. error:
  37. say "Error" rc "in line" sigl ":"
  38. GETERRORSTR rc
  39. say result
  40. exit 0
  41.